projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da5dc6
)
; * src/xterm.c (x_alloc_nearest_color_1): Remove extraneous code.
author
Po Lu
<luangruo@yahoo.com>
Fri, 4 Feb 2022 07:39:45 +0000
(15:39 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 4 Feb 2022 07:39:45 +0000
(15:39 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 874baa20f8c7f460f79cea54f80b4f829ab5e82c..deaa5b5961cc28ca9168d1827bab2d074d493eb9 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-3096,7
+3096,6
@@
x_alloc_nearest_color_1 (Display *dpy, Colormap cmap, XColor *color)
cells = x_color_cells (dpy, &no_cells);
- XQueryColors (dpy, cmap, cells, no_cells);
nearest = 0;
/* I'm assuming CSE so I'm not going to condense this. */
nearest_delta = ((((color->red >> 8) - (cells[0].red >> 8))